package com.cloud.api.domain.stats;

import com.cloud.api.validgroup.ValidateGroupSelectVin;
import com.cloud.mybatis.domain.PageModelNew;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@Schema(description = "查询维保")
public class QueryMaintenance extends PageModelNew implements Serializable {

    @Schema(description = "维修站名称")
    private String stationName;

    @Schema(description = "维修站id")
    @NotEmpty(message = "{validation.maintenance.stationId}",groups = ValidateGroupSelectVin.class)
    private String stationId;

    @Schema(description = "vin")
    private String vin;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区县")
    private String district;

    @Schema(description = "定位日期")
    private LocalDate dt;
}
